/*
Java board game library.
Copyright (C) 2011  Deepesh Garg

This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
*/

package d.g.boardgames.chess;

import d.g.boardgames.*;

public class ChessCellState {
	public enum PieceType {KING, QUEEN, BISHOP, KNIGHT, ROOK, PAWN} ;
	public enum PieceColor {WHITE, BLACK};	   
		   
	public PieceType pieceType;
	public PieceColor pieceColor;
	
	public static final ChessCellState WHITE_KING = new ChessCellState (PieceType.KING, PieceColor.WHITE);
	public static final ChessCellState WHITE_QUEEN = new ChessCellState (PieceType.QUEEN, PieceColor.WHITE);
	public static final ChessCellState WHITE_ROOK = new ChessCellState (PieceType.ROOK, PieceColor.WHITE);
	public static final ChessCellState WHITE_BISHOP = new ChessCellState (PieceType.BISHOP, PieceColor.WHITE);
	public static final ChessCellState WHITE_KNIGHT = new ChessCellState (PieceType.KNIGHT, PieceColor.WHITE);
	public static final ChessCellState WHITE_PAWN = new ChessCellState (PieceType.PAWN, PieceColor.WHITE);
	//public static final ChessCellState WHITE_PASSEDPAWN = new ChessCellState (PieceType.PASSED_PAWN, PieceColor.WHITE);

	public static final ChessCellState BLACK_KING = new ChessCellState (PieceType.KING, PieceColor.BLACK);
	public static final ChessCellState BLACK_QUEEN = new ChessCellState (PieceType.QUEEN, PieceColor.BLACK);
	public static final ChessCellState BLACK_ROOK = new ChessCellState (PieceType.ROOK, PieceColor.BLACK);
	public static final ChessCellState BLACK_BISHOP = new ChessCellState (PieceType.BISHOP, PieceColor.BLACK);
	public static final ChessCellState BLACK_KNIGHT = new ChessCellState (PieceType.KNIGHT, PieceColor.BLACK);
	public static final ChessCellState BLACK_PAWN = new ChessCellState (PieceType.PAWN, PieceColor.BLACK);
	//public static final ChessCellState BLACK_PASSEDPAWN = new ChessCellState (PieceType.PASSED_PAWN, PieceColor.BLACK);

	public ChessCellState () {

	}
	
	public ChessCellState (PieceType piece, PieceColor pieceColor) {
		this.pieceType = piece;
		this.pieceColor = pieceColor;
	}
}
